<{config_load file='time.conf'}>
<div id="orderListInfo">
<span class="title"><strong>專案名稱</strong> <{$list['title']}>
</span><span class="startTime"><strong>開始時間</strong> <{$list['startTime']|date_format:$smarty.config.startTimeFormat}>
</span><span class="closedTime"><strong>結束時間</strong> <{$list['closedTime']|date_format:$smarty.config.closedTimeFormat}>
</span><span class="info"><{$list['info']|escape:"htmlall"|nl2br}></span>
</div>
<div id="manageListBar">
<input id="getid" type="hidden" value="<{$smarty.get.id}>" />
<button id="viewFollow">訂單統計</button>
<button id="addBook">新增書籍</button>
<button id="editList">修改專案</button>
</div>
<div id="bookList">
</div>
<{section name=i loop=$books}>
<script type="text/javascript">
addBook(eval(<{$books[i]}>));
</script>
<{/section}>
<script type="text/javascript">
makeAccordion();
</script>
<div id="addBookForm" title="新增書籍" class="dialog">
<p class="validateTips" title="請填寫書籍資料"></p>
<form>
<fieldset>
<label for="title">書名</label>
<input name="title" class="text ui-coner-all ui-widget-content" />
<label for="author">作者</label>
<input name="author" class="text ui-coner-all ui-widget-content" />
<label for="publisher">出版商</label>
<input name="publisher" class="text ui-coner-all ui-widget-content" />
<label for="isbn">ISBN</label>
<input name="isbn" class="text ui-coner-all ui-widget-content" />
<label for="price">價格</label>
<input name="price" class="text ui-coner-all ui-widget-content" />
<label for="thumb">縮圖網址</label>
<input name="thumb" class="text ui-coner-all ui-widget-content" />
<label for="link">連結</label>
<input name="link" class="text ui-coner-all ui-widget-content" />
</fieldset>
</form>
</div>
<div id="editListForm" title="修改專案" class="dialog">
<p class="validateTips" title="請修改專案資料"></p>
<form>
<fieldset>
<label for="title">專案名稱</label>
<input name="title" class="text ui-coner-all ui-widget-content" />
<label for="startTime">開始時間</label>
<input name="startTime" class="text ui-coner-all ui-widget-content" />
<label for="closedTime">結束時間</label>
<input name="closedTime" class="text ui-coner-all ui-widget-content" />
<label for="info">專案說明</label>
<textarea name="info" class="text ui-corner-all ui-widget-content">
</textarea>
</fieldset>
</form>
</div>
</div>
